{% load tags %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<base target="_self" />
	<meta name="author" content="KuKei" />
	<meta name="generator" content="SupDo.com" />
	<meta name="copyright" content="Copyright(c) 2012 SupDo.com. All Rights Reserved." />
	<meta name="keywords" content="{{site.global.keywork|default_if_none:''}}" />
	<meta name="description" content="{{site.global.describe|default_if_none:''}}" />
	<meta http-equiv="x-ua-compatible" content="ie=8" />
	<title>{% block title %}{% endblock %}{{site.global.title|default_if_none:''}} - Power by SupDo!</title>
	<link rel="stylesheet" href="/static/{{site.theme}}/css/style.css" type="text/css" />
	<script src="/static/{{site.theme}}/js/jquery.min.js" type="text/javascript"></script>
	<script src="/static/dialog/lhgdialog.min.js?self=true" type="text/javascript"></script>
	<script src="/static/{{site.theme}}/js/utility.js" type="text/javascript"></script>
	{% block script %}{% endblock %}
</head>
<body>
<div id="mbody">
	<div id="header">
			<div id="logo"><img src="/static/{{site.theme}}/images/logo.gif" /></div>
			<div id="hContent"></div>
		</div>
	<div class="clear"></div>
	<div class="nav">
		<ul class="preNav">
			<li class="curNav "><a class="homeNav" href="/default.html"><span>首页</span></a></li>
			{% for e in site.catalogs %}{%if e.level == 10%}<li id={{e.id}} cnt="{{e.cnt}}"><a{%if e.islast%} href="{%if e.kind == 1%}/list{{e.column.model.value}}/{{e.value}}.html{%endif%}{%if e.kind == 2%}{% if e.value|first == '/' %}{{e.value}}{%else%}http://{{e.value}}{%endif%}{%endif%}"{%endif%}><span>{{e.name}}</span></a></li>{%endif%}{%endfor%}
		</ul>
		<ul class="preNav userNav">
			<li><a class="moreNav"><span>{%if site.power.isLogin%}{{site.power.user.username}}{%else%}用户管理{%endif%}</span></a>
				<div class="subNavRight">
					<div class="r_t"><span class="r_tl"></span><span class="r_tr"></span></div>
					<div class="r_c">
						{% if site.power.isLogin%}<a href="/add!Article.html"><span>添加文章</span></a><a href="/add!Product.html"><span>添加产品</span></a><a href="/logout.do"><span>注销</span></a>
						{%else%}<a href="/login.html"><span>登录</span></a><a href="/add!User.html"><span>注册</span></a>{%endif%}
					</div>
					<div class="r_b"><span class="r_bl"></span><span class="r_br"></span></div>
				</div></li>
		</ul>
		<div id="hidenNav">{% for e1 in site.catalogs %}{% if e1.level == 20 %}<a href="{%if e1.kind == 1%}/list{{e1.column.model.value}}/{{e1.value}}.html{%endif%}{%if e1.kind == 2%}http://{{e1.value}}{%endif%}" parent="{{e1.parent}}"><span>{{e1.name}}</span></a>{%endif%}{%endfor%}</div>
		<script type="text/javascript">navHaver();</script>
	</div>
	<div id="main">{% block mainer %}{% endblock %}</div>
</div>
<div class="clear"></div>
<div id="footerline">{{site.globalparam.50.footerline|default:''}}</div>
{{site.globalparam.50.kf|default:''|safe}}
<div id="footer">
	<div id="preFooter">
		<div class="footer-left"><ul><li>Power by SDCms 0.1.a </li><li>@ 2011 <a href="http://www.supdo.com">Supdo Do Studio</a></li></ul></div>
		<div class="footer-right"><ul>
			<li>联系我们 &nbsp;<a href="/admin/?_toUrl=/admin/&_sleep=0" target="_blank">管理登录</a>&nbsp;&nbsp;&nbsp;（{{site.globalparam.50.siteicp|default:''}}）&nbsp;&nbsp;&nbsp;{{site.globalparam.50.tongji3|default:''|safe}}</li>
			<li>Updated at #updateTime#, Processed in: #seconds# second(s)</li>
		</ul></div>
	</div>
</div>
</body>
</html>